<?php $this->display('header');?>
<div class="bk_10"></div>
<table class="table_list mar_l_8" border="0" cellspacing="0" cellpadding="0" width="98%">
	<tr>
		<th width="40">id</th>
		<th >任务名称</th>
		<th>创建日期</th>
		<th>操作</th>
	</tr>
	
<?php foreach ($data as $v): ?>
	<tr>
		<td class="t_l"><?=$v['missionid']?></td>
		<td class="t_l"><a href="<?=$v['index']?>" target="_blank"><?=$v['name']?></a></td>
		<td class="t_c"><?=date('Y-m-d H:i',$v['created'])?></td>
		<td class="t_c"><a href="<?=url('caitu/content/index',array('missionid'=>$v['missionid']))?>">查看</a>&nbsp;&nbsp;<a href="<?=url('caitu/mission/fetch/',array('missionid'=>$v['missionid']))?>" onclick="this.href+='&num='+$(this).next('input').val()">采集</a>(<input type="text"  size="2"/>)页&nbsp;&nbsp;<a href="<?=url('caitu/mission/edit/',array('missionid'=>$v['missionid']))?>">编辑</a>&nbsp;&nbsp;<a href="<?=url('caitu/mission/copy/',array('missionid'=>$v['missionid']))?>">复制</a>&nbsp;&nbsp;<a href="<?=url('caitu/mission/delete/',array('missionid'=>$v['missionid']))?>" onclick="javascript:return confirm('确认要删除此任务？')?true:false;">删除</a>&nbsp;&nbsp;</td>
	</tr>
<?php endforeach;?>
</table>
<?php $this->display('footer');
